﻿(function () {
    "use strict";

    WinJS.UI.Pages.define("/pages/home/home.html", {
        ready: function (element, options) {
            document.getElementById("searchBtn").onclick = function(e) {
                WinJS.Navigation.navigate("/pages/results/results.html", { terms: document.getElementById("searchTerms").value });
            };
        }
    });
})();
